<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2020-06-24
 * Time: 11:35
 */

namespace app\api\model;


use think\model\concern\SoftDelete;

class GoodsOrder extends BaseModel
{
    use SoftDelete;

    public function content()
    {
        return $this->hasMany('GoodsOrderContent','order_id','id')->order('id desc');
    }
}